package com.ctgu.server.dao.dto;



import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;






@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "LoginDto", description = "登录请求参数")
public class LoginDto {
//    @ApiModelProperty(value = "用户名")
//    @NotEmpty(message = "用户名不能为空")
//    private String userName;

//    @ApiModelProperty(value = "用户密码")
//    @NotEmpty(message = "密码不能为空")
//    private String userPassword;

//    @ApiModelProperty(value = "token")
//    @NotEmpty(message = "非法访问")
//    private String token;

//    @ApiModelProperty(value = "用户uuid")
//    @NotEmpty(message = "uuid不能为空")
//    private String uuid;

    @ApiModelProperty(value = "微信小程序传来的code")
    @NotEmpty(message = "jscode不能为空")
    private String jscode;


//    @ApiModelProperty(value = "验证码")
//    @NotEmpty(message = "验证码不能为空")
//    private String captcha;
}
